package me.aartikov.alligator.animations;


import ohos.aafwk.ability.Ability;
import ohos.aafwk.ability.fraction.Fraction;
import ohos.aafwk.ability.fraction.FractionScheduler;
import ohos.aafwk.content.Intent;
import ohos.aafwk.content.Operation;

/**
 * Transition animation that leaves a default animation behavior for activities and fragments.
 */
public class DummyTransitionAnimation implements TransitionAnimation {
    @Override
    public int getEnterAnimal() {
        return 0;
    }

    @Override
    public int getExitAnimal() {
        return 0;
    }

    @Override

    public Operation getActivityOptionsBundle(Ability activity) {
        return null;
    }

    @Override
    public boolean needDelayActivityFinish() {
        return false;
    }

    @Override
    public void applyBeforeActivityStarted(Ability currentActivity, Intent intent) {
    }

    @Override
    public void applyAfterActivityStarted(Ability currentActivity) {
    }

    @Override
    public void applyBeforeActivityFinished(Ability activity) {
    }

    @Override
    public void applyAfterActivityFinished(Ability activity) {
    }

    @Override
    public void applyBeforeFragmentTransactionExecuted(FractionScheduler transaction, Fraction enteringFragment, Fraction exitingFragment) {
    }

    @Override
    public void applyAfterFragmentTransactionExecuted(Fraction enteringFragment, Fraction exitingFragment) {
    }
}
